package com.easy.util;

import lombok.Data;

    @Data
    public class PageRequest {
        private int page;
        private int limit;
        private int start;

        public PageRequest(int page, int limit) {
            this.page = page;
            this.limit = limit;
            this.start = (page - 1) * limit;
        }
    }
